<?php

namespace Common\Model;

use Think\Model;
/**
 * Description of EquipmentsinfoModel
 *
 * @author Administrator
 */
class EquipmentsinfoModel extends Model{
    //put your code here
    function get_equipments($equipment_class_id) {
        $EquipmentsinfoModel = new \Common\Model\EquipmentsinfoModel();
        $equipments = $EquipmentsinfoModel->where("class_id = ".$equipment_class_id) ->select();
        return $equipments;
    }
}
